<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		
		var aRr = [1,2,3,4,3,5,6,7,8,4,5,3,7,9,2,4,6,8,9,2];

		var aRr2 = [];


		for(var i=0;i<aRr.length;i++)
		{
			if(aRr.indexOf(aRr[i])==i)
			{
				aRr2.push(aRr[i]);
			}
		}

		alert(aRr2);







	</script>
</head>
<body>
	
</body>
</html>